define(function(require,exports,module){

	exports.init = function(){
		//合作加盟   hover列表
		join_us_hover_list();
		//hover公司卡片
		hover_join_us_card();
	}	
	exports.operate = function(){
		//点击合作加盟列表
		click_join_us_list();
	}
	exports.win_resize = function(){

	}
	function join_us_hover_list(){
		$(".join-us-each").live('mouseenter',function(){
			$(this).css('background',"#A9A9A9");
		}).live('mouseleave',function(){
			$(this).css('background',"");
		});
	}
	function click_join_us_list(){
		$(".join-us-each").live('click',function(){
			var show_num = $(this).attr('join-us');
			$(".each-join-us-description").hide();
			$(".join-us-"+show_num).fadeIn(400);
		})
	}
	function hover_join_us_card(){
		$(".each-join-us-card").live("mouseenter",function(){
			$(this).css("background","#A9A9A9");
			$(this).css('border',"2px dashed white");
		}).live("mouseleave",function(){
			$(this).css('background',"");
			$(this).css('border',"");
		})
	}
});